.category-page {
    margin: 3rem 0;
}


.news-container-main h6.category-heading {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 23px;
    margin-bottom: 20px;
    position: relative;
    padding: 0 0 5px 0;
}

.news-container-main h6.category-heading::after {
    position: absolute;
    content: "";
    height: 3px;
    background-color: var(--secondary-color);
    width: 100px;
    top: 100%;
    left: 0;
}

/*LEFT SIDE*/
.category-news {
    display: flex;
    flex-wrap: nowrap;
    box-shadow: var(--box-shadow);
    padding: 20px;
    margin-bottom: 2rem;
}

.category-link .category-news .news-extended h4 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 25px;
    margin-bottom: 5px;
}

.category-link:hover .category-news .news-extended h4 {
    color: var(--secondary-color);
    text-decoration: none;
}

.category-link .category-news .news-extended p {
    color: var(--black-color);
    font-size: 18px;
}

.news-image img {
    height: 200px;
    object-fit: cover;
}

.news-by {
    margin-bottom: 10px;
}

.news-writer {
    margin-right: 20px;
}

.news-writer img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.news-writer h6 {
    color: var(--black-color);
}

.news-date {
    color: var(--black-color);
}

.news-writer,
.news-date {
    cursor: default;
}

.pagination-div {
    margin-top: 20px;
    justify-content: center;
}

.pagination {
    justify-content: center;
}

.page-item.active .page-link {
    z-index: 1;
    color: var(--white-color);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.page-item .page-link.page-prev,
.page-item .page-link.page-next {
    background: var(--secondary-color);
    color: var(--white-color);
}

.page-link {
    margin: 0 5px;
}

.sidebar-news img {
    width: 100%;
    object-fit: cover;
}

.sidebar-news {
    position: relative;
}

.sidebar-news .sidebar-news-heading {
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    z-index: 5;
    color: var(--white-color);
}

.medium-card {
    margin-bottom: 1rem;
}

.card img:hover {
    opacity: 0.9;
}

.card img {
    height: 25rem;
    width: 100%;
    object-fit: cover;
}

.medium-card .card-img {
    height: 215px;
}


.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem;
}

.card .card-img-overlay {
    top: auto;
    bottom: 0;
    left: 0;
}

.card-title {
    font-weight: bold;
}

/* .card-title {
    text-shadow: 1px 1px 1px var(--black-color);
} */

.card .card-title {
    margin-bottom: 0;
}

.card .card-img-overlay .card-title a {
    color: var(--white-color);
    transition: 0.2s;
    font-family: 'Poppins', sans-serif;

}

.card-title a {
    color: var(--white-color);
}

.card .card-img-overlay .time {
    color: var(--white-color);
}

.time::before {
    content: '\f017';
    font-family: 'font awesome 5 free';
    font-weight: 600;
    padding-right: 0.5rem;
    font-size: 0.65rem;
    color: var(--secondary-color);
}

.card-img-overlay .time::before {
    color: var(--white-color);
}

.card .card-img-overlay .card-title a:hover {
    color: var(--primary-color);
    /* text-shadow: 2px 2px 2px var(--black-color); */
    text-decoration: none;
}

.medium-card .card-img {
    height: 215px;
}

.mini-news {
    position: sticky;
    top: 70px;
}

.additional-news {
    margin-top: 20px;
}

.additional-news h6 {
    margin-bottom: 30px;
}

.additional-news h6 a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 23px;
    margin-bottom: 20px;
    position: relative;
    padding: 0 0 5px 0;
}

.additional-news h6 a::after {
    position: absolute;
    content: "";
    height: 3px;
    background-color: var(--secondary-color);
    width: 100px;
    top: 100%;
    left: 0;
}

.category-big-news img {
    height: 445px;
}



.sub-category-list .bg-shadow {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 1.5rem;
}

.bg-shadow .br {
    border-right: none
}

.a-tag {
    border-right: 1px solid #ccc;
}

.a-tag h4 {
    text-decoration: underline;
    color: var(--primary-color);
}

.a-tag ul li {
    margin: 1rem 0;
}

.a-tag img {
    height: 65px;
    width: 65px;
    margin-right: 1.5rem;
}

.a-tag span a {
    font-size: 16px;
    font-weight: 600;
    color: var(--black-color);
}

.a-tag ul li h6 a {
    display: inline;
    position: relative;
    text-decoration: none;
    padding: 7px 20px;
    text-align: center;
    color: var(--primary-color);
    font-weight: 500;
    background: var(--white-color);
    border: 1px solid var(--primary-color);
}

.a-tag ul li h6 a:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transition: 0.9s;
}

.cat-sc-lt {
    position: absolute;
    bottom: 10px;
    color: var(--white-color);
    padding: 10px;
}

.cat-sc-lt .main-title {
    line-height: 50px;
    font-size: 28px;
    color: var(--white-color);
    font-family: var(--secondary-font);
}

.category-story h5 {
    border-bottom: 1px solid #ccc;
    font-weight: 600;
    padding-bottom: 5px;
    font-size: 22px;
}

.category-story h6 {
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
}

.category-story h6 a {
    color: var(--black-color);
    border-bottom: 1px solid #ccc;
    font-size: 18px;
    line-height: 25px;
}

.category-story h6 a:hover {
    color: var(--primary-color);
}

.category-main-image img {
    height: 410px;
    width: 100%;
    object-fit: cover;
}

.category-main-image .big-item-content {
    position: absolute;
    left: 15px;
    bottom: 0px;
    top: 75%;
    width: 95%;
    transition: all 0.3s ease-in-out;
    padding: 10px 25px;
    background-color: rgba(25, 25, 25, 0.9);
}

.category-main-image .big-item-content h5 a {
    color: var(--white-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
}

.category-main-image .big-item-content h5 a:hover {
    color: var(--primary-color);

}

.category-story p {
    font-size: 14px;
    margin: 0;
    line-height: 25px;
}

.category-story img {
    height: 95px;
    width: 100%;
    object-fit: cover;
}

.stories-list {
    border-bottom: 1px solid #ccc;
    padding: 5px 0;
}

.left-news img,
.right-news img {
    width: 100%;
    object-fit: cover;
    height: 180px;
}

.middle-news img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.left-news h3,
.right-news h3 {
    margin: 0.5rem 0;
    line-height: 20px;
}

.middle-news h3 {
    margin: 0.5rem 0;
    line-height: 35px;
}

.left-news h3 a,
.right-news h3 a {
    font-size: 17px;
    color: var(--black-color);
    font-weight: 600;
}

.middle-news h3 a {
    font-size: 24px;
    color: var(--black-color);
    font-weight: 600;
}

.left-news h3 a:hover,
.middle-news h3 a:hover,
.right-news h3 a:hover {
    color: var(--primary-color);
}


.left-news i,
.left-news span,
.middle-news i,
.middle-news span,
.right-news i,
.right-news span,
.category-story i,
.category-story span {
    color: #6c757d;
    font-weight: 700;
    font-size: 12px;
}

.added-news img {
    height: 215px;
    width: 100%;
    object-fit: cover;
}

.added-news {
    margin: .5rem 0;
    padding: 1rem 0;
}

.added-news-title,
.added-news {
    border-bottom: 1px solid #ccc;
}

.added-news-title h5 {
    margin: 5px 0px;
    line-height: 25px;
}

.added-news-title a {
    font-size: 18px;
    color: var(--black-color);
    font-weight: 600;
}

.added-news p {
    font-size: 14px;
    margin-top: 10px;
    line-height: 27px;
}

.added-news-title a:hover {
    color: var(--primary-color);
}

.added-news-title p {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 0;
}

.added-news .read-more {
    padding: 5px 10px;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    font-weight: 500;
    color: var(--white-color);
}

.added-news .read-more:hover {
    background: var(--white-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* PAGINATION */
#pagination {
    margin: 0;
    padding: 0;
}

#pagination li {
    display: inline
}

#pagination li a {
    display: inline-block;
    text-decoration: none;
    padding: 5px 10px;
    color: #000
}

#pagination li a {
    border-radius: 5px;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s
}

#pagination li a.active {
    background-color: var(--primary-color);
    color: #fff
}

#pagination li a:hover:not(.active) {
    background-color: #ddd;
}

/* SUB CATEGORY  */
.sub-category {
    background: var(--black-color);
    height: 40px;
}

.sub-category h5 a {
    color: var(--white-color);
    font-size: 16px;
    padding-top: 10px;
    display: inline-block;
}

.sub-category .cat-list h5 a {
    color: var(--white-color);
    font-size: 16px;
    padding-top: 10px;
    display: inline-block;
    margin-left: -17rem;
}

.cat-list {
    text-align: center;
}

.sub-category .main-category {
    background: var(--secondary-color);
    display: inline-block;
    color: var(--white-color);
    margin-left: -82px;
    padding: 10px 35px;
    font-size: 16px;
}

.sub-category .owl-nav .owl-prev {
    position: absolute;
    left: -20px;
    display: block;
    top: 5px;
    font-size: 34px !important;
    color: var(--white-color) !important;
}

.sub-category .owl-nav .owl-next {
    position: absolute;
    right: -20px;
    display: block;
    top: 5px;
    font-size: 34px !important;
    color: var(--white-color) !important;
}

/* LIVE SCORE */
.score-box {
    padding: 10px;
    border-radius: 0.5rem;
    margin: 30px 0;
    border: 1px solid #ebebeb;
    box-shadow: rgb(99 99 99 / 20%) 0px 2px 8px 0px;
}

.score-box-header .text-danger.blink {

    font-size: 12px;
    animation-name: blinker;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes blinker {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

.score-box p {
    padding-right: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 12px;
}

.score-box p:last-child {
    padding-right: 0;
}

.club-details-image img {
    width: 25px;
    height: 25px;
}

.club-details {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: start;
    margin-bottom: 10px;
}

.club-details h6 {
    font-size: 14px;
    font-weight: 600;
    margin-left: 10px;

}

.score-board p {
    font-size: 14px;
    text-align: right;

}

.about-match p {
    font-size: 14px;
    color: #343A40;
    margin-bottom: 5px;

}

.links-match {
    border-top: 1px solid #ccc;
}

.links-match a {
    color: var(--black-color);
    font-size: 14px;
    padding-right: 10px;

    font-weight: 500;
}

.links-match a:last-child {
    padding-right: 0;
}

.links-match a:hover {
    color: var(--primary-color);
}

.live-score .owl-nav .owl-prev {
    position: absolute;
    left: -20px;
    display: block;
    top: 33%;
    background: rgb(0 0 0 / 25%) !important;
    width: 30px;
    height: 50px;
    font-size: 28px !important;
    color: var(--white-color) !important;
    border: 1px solid var(--white-color);
}

.live-score .owl-nav .owl-next {
    position: absolute;
    right: -20px;
    display: block;
    top: 33%;
    background: rgb(0 0 0 / 25%) !important;
    width: 30px;
    height: 50px;
    font-size: 25px !important;
    color: var(--white-color) !important;
    border: 1px solid var(--white-color);
}

.live-score .owl-nav .owl-prev:hover,
.live-score .owl-nav .owl-next:hover {
    border: 1px solid var(--primary-color);
    color: var(--white-color) !important;
    background: var(--primary-color) !important;
}


/*Cricket category*/
.cricket-teams .owl-carousel h3 {
    margin: 1rem 0;
    font-family: var(--tertiary-font);
    border-bottom: 1px solid #ccc;
    color: var(--primary-color);
}

.cricket-teams .owl-carousel .item {
    padding: 5px 10px;
    margin: 20px 10px 0px 10px;
    border: 1px solid rgb(99 99 99 / 20%);
    box-shadow: rgb(99 99 99 / 20%) 0px 2px 8px 0px;
}

.cricket-teams .owl-nav .owl-prev {
    position: absolute;
    left: -40px;
    display: block;
    top: 44%;
    width: 40px;
    height: 55px;
    font-size: 30px !important;
    color: var(--black-color) !important;
    border: 1px solid #ccc !important;
}

.cricket-teams .owl-nav .owl-next {
    position: absolute;
    right: -40px;
    display: block;
    top: 44%;
    width: 40px;
    height: 55px;
    font-size: 30px !important;
    color: var(--black-color) !important;
    border: 1px solid #ccc !important;
}

.mens-national-team ul li img {
    height: 40px !important;
    width: 50px !important;
}

.mens-national-team ul li {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.mens-national-team ul li a {
    padding-left: 1rem;
    color: var(--black-color);
    font-weight: 600;
}

.cricket-teams .owl-carousel h3 {
    margin: 1rem 0;
    font-family: var(--tertiary-font);
    border-bottom: 1px solid #ccc;
    color: var(--primary-color);
}

.cricket-teams .owl-nav .owl-prev {
    position: absolute;
    left: -40px;
    display: block;
    top: 44%;
    width: 40px;
    height: 55px;
    font-size: 30px !important;
    color: var(--black-color) !important;
    border: 1px solid #ccc !important;
}

.cricket-teams .owl-nav .owl-next {
    position: absolute;
    right: -40px;
    display: block;
    top: 44%;
    width: 40px;
    height: 55px;
    font-size: 30px !important;
    color: var(--black-color) !important;
    border: 1px solid #ccc !important;
}

.more-cricket-news .added-news {
    margin: 0px 0px 1rem 0;
    padding: 0px 0px 1rem 0;
}


/*IPL*/
.ipl-specific-team h2 {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 10px;
}

.more-detail {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 10px;
}

.more-detail img {
    height: 300px;
    width: 100%;
}

.team-info {
    line-height: 50px;
}

.team-info span {
    font-weight: 700;
}

.left-infor li {
    font-weight: 700;
    font-family: var(--secondary-font);
    color: var(--primary-color);
}

.right-infor li {
    font-weight: 700;
}

.players img {
    height: 290px;
    width: 100%;
    object-fit: cover;
}

.player-name {
    margin: 1rem 0;
}

.squad-list .owl-nav .owl-prev {
    position: absolute;
    left: -40px;
    display: block;
    top: 40%;
    width: 40px;
    height: 55px;
    font-size: 30px !important;
    color: var(--black-color) !important;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.squad-list .owl-nav .owl-next {
    position: absolute;
    right: -40px;
    display: block;
    top: 40%;
    width: 40px;
    height: 55px;
    font-size: 30px !important;
    color: var(--black-color) !important;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.players {
    position: relative;
}

.overseas-players img {
    height: 24px;
    width: 24px !important;
    right: 0;
    top: 0;
    position: absolute;
}

.team-recent-news .main-image img {
    height: 350px;
    object-fit: cover;
}

.team-recent-news .main-image {
    margin: 1rem 0;
}

.team-recent-news .main-image .big-item-content {
    position: absolute;
    left: 15px;
    bottom: 0px;
    width: 92.2%;
    transition: all 0.3s ease-in-out;
    padding: 10px 0 5px 20px;
    background-color: rgba(25, 25, 25, 0.9);
}
